package com.penglecode.dp.creational.builder;

public class LenovoComputerBuilder implements ComputerBuilder {

	private Computer computer = new LenovoComputer();
	
	public void buildMainEngine() {
		System.out.println(">>> 创建Lenovo电脑主机.");
		//do something on computer instance
	}

	public void buildDisplayer() {
		System.out.println(">>> 创建Lenovo电脑显示器.");
		//do something on computer instance
	}

	public void buildPeripheral() {
		System.out.println(">>> 创建Lenovo电脑外设.");
		//do something on computer instance
	}

	public Computer getResult() {
		return computer;
	}

}
